#ifndef ACTION_QUEUE_HH_
# define ACTION_QUEUE_HH_

# include <queue>
# include "action_rts.hh"
# include "action_fps.hh"
# include "action_common.hh"

class ActionQueue
{
public:
  static ActionQueue* Instance ()
  {
    if (!act_queue_)
      act_queue_ = new ActionQueue ();

    return act_queue_;
  }

  ~ActionQueue ()
  {}

  std::queue<Action*>* queue_get ()
  {
    return queue_;
  }

protected:
  ActionQueue ()
  {
    queue_ = new std::queue<Action*>;
  }

  static ActionQueue* act_queue_;

  std::queue<Action*>* queue_;
};

#endif /// !ACTION_QUEUE_HH_
